(view-hello-file): Use `view-file' instead of `find-file-read-only'.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 14 Feb 2003 06:54:44 +0000 (06:54 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 14 Feb 2003 06:54:44 +0000 (06:54 +0000)
lisp/international/mule-cmds.el

index 92df9fcb4c07f6c945466605649e25ceac024456..01bb05a095510dd0bfff36220643fd81d056370c 100644 (file)
@@ -264,7 +264,7 @@ wrong, use this command again to toggle back to the right mode."
   ;; We have to decode the file in any environment.
   (let ((default-enable-multibyte-characters t)
        (coding-system-for-read 'iso-2022-7bit))
-    (find-file-read-only (expand-file-name "HELLO" data-directory))))
+    (view-file (expand-file-name "HELLO" data-directory))))
 
 (defun universal-coding-system-argument (coding-system)
   "Execute an I/O command using the specified coding system."